package com.eveinfo.sql.data;

import java.util.ArrayList;

public class SkillsDB {

	public class Skill {
		private final int typeID;
		private final String name;

		public Skill(int typeID, String name) {
			this.typeID = typeID;
			this.name = name;
		}

		public String getName() {
			return name;
		}

		public int getTypeID() {
			return typeID;
		}
	}

	public class SkillGroup {
		private final String name;
		private final ArrayList<Skill> skills;

		public SkillGroup(String name, Skill skill) {
			this.name = name;
			skills = new ArrayList<Skill>();
			skills.add(skill);
		}

		public String getName() {
			return name;
		}

		public Skill getSkill(int position) {
			return skills.get(position);
		}

		public boolean addSkill(Skill skill) {
			return skills.add(skill);
		}

		public int size() {
			return skills.size();
		}
	}
}
